//
//  FlightPlayInfo.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/2/5.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class FlightPlayInfo: NSObject {
    
    @objc var flightplayid:Int = 0
    @objc var flightnumberid:String?
    @objc var city:String?
    @objc var endcity:String?
    @objc var departdate:String?
    @objc var arrivaldate:String?
    @objc var departtime:String?
    @objc var arrivaltime:String?
    
    init(dict:[String:Any]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["flightplayid","flightnumberid","city","endcity","departdate","arrivaldate","departtime","arrivaltime"]).description
    }
}
